package com.weasel.weixin.commons.message.bean.initiative;

import org.codehaus.jackson.annotate.JsonProperty;

/**
 * Created by Dylan on 2015/10/19.
 */
public class MusicCustomInitiativeMessage extends AbstractCustomInitiativeMessage {


    @JsonProperty("music")
    private Music music;

    public MusicCustomInitiativeMessage() {
        super("music");
    }

    public Music getMusic() {
        return music;
    }

    public void setMusic(Music music) {
        this.music = music;
    }

    public static class Music{

        @JsonProperty("title")
        private String tile;  //图文消息/视频消息/音乐消息的标题

        @JsonProperty("description")
        private String description; //图文消息/视频消息/音乐消息的描述

        @JsonProperty("thumb_media_id")
        private String thumbMediaId;  //缩略图的媒体ID

        @JsonProperty("musicurl")
        private String musicUrl; //音乐链接

        @JsonProperty("hqmusicurl")
        private String hqMusicUrl; //高品质音乐链接，wifi环境优先使用该链接播放音乐

        public String getThumbMediaId() {
            return thumbMediaId;
        }

        public void setThumbMediaId(String thumbMediaId) {
            this.thumbMediaId = thumbMediaId;
        }

        public String getTile() {
            return tile;
        }

        public void setTile(String tile) {
            this.tile = tile;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public String getMusicUrl() {
            return musicUrl;
        }

        public void setMusicUrl(String musicUrl) {
            this.musicUrl = musicUrl;
        }

        public String getHqMusicUrl() {
            return hqMusicUrl;
        }

        public void setHqMusicUrl(String hqMusicUrl) {
            this.hqMusicUrl = hqMusicUrl;
        }
    }
}
